﻿#include "FITKLoadNoiseHVAC.h"

namespace Acoustics
{
    FITKLoadNoiseHVAC::FITKLoadNoiseHVAC()
    {
        //构造
    }

    FITKLoadNoiseHVAC::~FITKLoadNoiseHVAC()
    {
        //析构
    }

    FITKAcousticsAbstractLoad::AcousticsLoadType FITKLoadNoiseHVAC::getAcousticsLoadType()
    {
        //获取载荷类型
        return FITKAcousticsAbstractLoad::AcousticsLoadType::ImportNoiseHVAC;
    }

    bool FITKLoadNoiseHVAC::copy(FITKAbstractDataObject* obj)
    {
        //拷贝数据
        FITKLoadNoiseHVAC* oldObj = dynamic_cast<FITKLoadNoiseHVAC*>(obj);
        if (!oldObj) return false;
        _enabledState = oldObj->_enabledState;
        _notes = oldObj->_notes;
        _connectObjID = oldObj->_connectObjID;
        _filePath = oldObj->_filePath;
        this->Core::FITKAbstractNDataObject::copy(obj);
        return true;
    }
}